package com.ecable.serviceI;

import java.util.Vector;

import com.ecable.bean.DistrictTO;
import com.ecable.exception.ConnectionException;
import com.ecable.exception.DataNotFoundException;
import com.ecable.exception.LoginException;

public interface DistrictServiceI {
	public boolean insertDistrict(DistrictTO dt)throws LoginException,ConnectionException;
	public Vector<DistrictTO> viewDist()throws ConnectionException,DataNotFoundException;
	public DistrictTO viewDistAt( int did)throws ConnectionException,DataNotFoundException;
	public boolean deleteDist(int did)throws ConnectionException;
	public boolean updateDist(DistrictTO  dt)throws ConnectionException;
	public Vector<DistrictTO> getDistName(String sname)throws ConnectionException,DataNotFoundException;
}
